package com.ctgu.examonline.entity;

public class Student {

    private Integer stu_no;
    private String stu_name;
    private String stu_pwd;
    private Integer maj_no;
    private String stu_grade;

    public Student(Integer stu_no, String stu_name, String stu_pwd, Integer maj_no, String stu_grade) {
        this.stu_no = stu_no;
        this.stu_name = stu_name;
        this.stu_pwd = stu_pwd;
        this.maj_no = maj_no;
        this.stu_grade = stu_grade;
    }

    public Student(){}

    public Integer getStu_no() {
        return stu_no;
    }

    public void setStu_no(Integer stu_no) {
        this.stu_no = stu_no;
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public String getStu_pwd() {
        return stu_pwd;
    }

    public void setStu_pwd(String stu_pwd) {
        this.stu_pwd = stu_pwd;
    }

    public Integer getMaj_no() {
        return maj_no;
    }

    public void setMaj_no(Integer maj_no) {
        this.maj_no = maj_no;
    }

    public String getStu_grade() {
        return stu_grade;
    }

    public void setStu_grade(String stu_grade) {
        this.stu_grade = stu_grade;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stu_no=" + stu_no +
                ", stu_name='" + stu_name + '\'' +
                ", stu_pwd='" + stu_pwd + '\'' +
                ", maj_no='" + maj_no + '\'' +
                ", stu_grade='" + stu_grade + '\'' +
                '}';
    }
}
